<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>弹出窗口</title>
		<script type="text/javascript" src="../js/jquery-1.8.3.js"></script>
		<script type="text/javascript" src="../js/easyui/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../js/easyui/locale/easyui-lang-zh_CN.js"></script>
		<link rel="stylesheet" href="../js/easyui/themes/default/easyui.css" />
		<link rel="stylesheet" href="../js/easyui/themes/icon.css" />

		<script type="text/javascript" src="../js/ztree/jquery.ztree.all-3.5.js"></script>
		<link rel="stylesheet" type="text/css" href="../js/ztree/zTreeStyle.css" />

		<script type="text/javascript">
			$(function(){
				$("#openBtn").click(function(){
					$("#mywindow").window('open');
				})
			})
		</script>

	</head>

	<body>
		用户名:<input type="text" name="username" />
		<div  id="mywindow" class="easyui-window" data-options="title:'弹出的窗口',closable:true,modal:true
			,closed:true" style="width:200px;height: 150px;">
			窗口的内容 
		</div>
		&nbsp;<input type="button" value="打开窗口" id="openBtn"/>	
	</body>

</html>